CREATE TABLE [dbo].[Tb_TramitesDocumentosDevueltos]
(
[IDTramiteDevuelto] [int] NOT NULL IDENTITY(1, 1),
[Tracking] [int] NOT NULL,
[DevueltoPor] [int] NOT NULL,
[Observaciones] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Tb_TramitesDocumentosDevueltos] ADD CONSTRAINT [PK_Tb_TramitesDocumentosDevueltos] PRIMARY KEY CLUSTERED  ([IDTramiteDevuelto]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Tb_TramitesDocumentosDevueltos] WITH NOCHECK ADD CONSTRAINT [FK_Tb_TramitesDocumentosDevueltos_tb_Usuarios] FOREIGN KEY ([DevueltoPor]) REFERENCES [dbo].[tb_Usuarios] ([idUsuario])
GO
ALTER TABLE [dbo].[Tb_TramitesDocumentosDevueltos] WITH NOCHECK ADD CONSTRAINT [FK_Tb_TramitesDocumentosDevueltos_tb_Tracking] FOREIGN KEY ([Tracking]) REFERENCES [dbo].[tb_Tracking] ([idTracking])
GO
